package com.ruoyi.generator.mapper;

import com.ruoyi.generator.entity.PlanAssociation;
import com.ruoyi.generator.entity.bo.PlanAssociationBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlanAssociationMapper {

    List<PlanAssociationBO> selectPlanAssociationInfo();


    void insertPlanAssociation(List<PlanAssociation> planAssociation);


    List<PlanAssociationBO> selectPlanAssociationList(PlanAssociation planAssociation);

    int updatePlanAssociation(@Param("planAssociationId") Integer planAssociationId,
                              @Param("scheduleId") Integer scheduleId,
                              @Param("planName") String planName);
}
